//
//  ReceiptTableViewCell.h
//  BeautyPicture
//
//  Created by LiuNa on 16/2/25.
//  Copyright © 2016年 szb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "cellBaseModel.h"
#import "shareModel.h"
#import "productModel.h"

@class ReceiptTableViewCell;
@protocol ReceiptTableViewCellDelegate <NSObject>

@optional
//删除方法
- (void)shanchuCellReC:(ReceiptTableViewCell *)childBaseCell;

//继续编辑
- (void)continueDIYReC:(ReceiptTableViewCell *)childBaseCell;

//马上印刷方法
- (void)goToPrintReC:(ReceiptTableViewCell *)childBaseCell;

//查看详情
- (void)lookDetailReC:(ReceiptTableViewCell *)childBaseCell;

//马上付钱
- (void)quicklyPayManyReC:(ReceiptTableViewCell *)childBaseCell;

//看订单
- (void)lookDinDanReC:(ReceiptTableViewCell *)childBaseCell;

//查看物流
- (void)lookWUliuReC:(ReceiptTableViewCell *)childBaseCell;

//马上晒单
- (void)quickShaidanReC:(ReceiptTableViewCell *)childBaseCell;

//确认收货
- (void)querenGoodsReC:(ReceiptTableViewCell *)childBaseCell;

//分享作品
- (void)shareProductReC:(ReceiptTableViewCell *)childBaseCell;

//再次分享
- (void)shareAgainReC:(ReceiptTableViewCell *)childBaseCell;

@end


@interface ReceiptTableViewCell : UITableViewCell


+ (instancetype)cellWithTableView:(UITableView *)tableView;

@property (nonatomic,strong)UIImageView *productImage;
/** 名称 */
@property (nonatomic,strong)UILabel *Name;
/** 规格 */
@property (nonatomic,strong)UILabel *Standard;
/** 时间 */
@property (nonatomic,strong)UILabel *Time;
/** 产品状态 */
@property (nonatomic,strong)UIButton *rightButton;
/** 删除 */
@property (nonatomic,strong)UIButton *leftBtn;
/** cell的标识*/
@property (nonatomic,copy)NSString *cellType;

/** 原价 */
@property (nonatomic,strong)UILabel *yuanJia;

/** 现价 */
@property (nonatomic,strong)UILabel *xianJia;



/** 签收日期 */
@property (nonatomic, strong) UILabel *qianshou;
@property (nonatomic, strong) UILabel *day;
@property (nonatomic, strong) UILabel *shouHuoDay;

/** 承运来源 */
@property (nonatomic, strong) UILabel *laiyuan;
@property (nonatomic, strong) UILabel *kuaidi;

/** 快递编号 */
@property (nonatomic, strong) UILabel *bianhao;
@property (nonatomic, strong) UILabel *danhao;


@property (nonatomic,strong)cellBaseModel *cellModel;

@property (assign,nonatomic)id<ReceiptTableViewCellDelegate>delegate;

-(void)setUpCell:(productModel *)model;

-(void)setUpCell22:(cellBaseModel *)model;

- (void)setUpShareCell:(shareModel *)model;

- (void)setUpCellTow:(cellBaseModel *)model;
@end
